<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
		<title>鑫三强智能消费系统</title>
		
		<link rel="stylesheet" href="css/bootstrap.min.css">
		<link rel="stylesheet" href="css/bootstrap-datetimepicker.min.css">
		<link rel="stylesheet" href="css/style.css"> 
		
		<script type="text/javascript" src="js/jquery-2.1.0.js"></script>
      	<script type="text/javascript" src="js/layer/layer.js"></script>
      	<script type="text/javascript" src="js/bootstrap.min.js"></script>
      	<script type="text/javascript" src="js/util.js"></script>
      	<script type="text/javascript" src="js/bootstrap-datetimepicker.min.js"></script>
    	<script type="text/javascript" src="js/bootstrap-datetimepicker.zh-CN.js"></script>
	</head>
	<body class="index_bg">
		<div class="pt_body">
			<div class="il_body_header clearfix">
				<h3>统计打印</h3>
				<a href="javascript:;" onclick="javascript:goBack();">返回</a>
			</div>
			<div class="pt_body_list">
				<div class="pt_body_list_table">
					<table border="0">
						<tbody>
							<tr>
								<td width="35%">开始时间：</td>
								<td width="65%">
									<input type="text" id="start_date" readonly="readonly"/>
								</td>
							</tr>
							<tr>
								<td>结束时间：</td>
								<td>
									<input type="text" id="end_date" readonly="readonly"/>
								</td>
							</tr>
						</tbody>
					</table>
				</div>
				<div class="ib_rp_body_func">
					<a href="javascript:doSrch();" class="btn_all">查询</a>	
					
				</div>
			</div>
		</div>
      		
      	<div id="srchResult">
      		<div class="deatilSpan">
				合计金额：<span id="total_cs"></span>
			</div>
			<div class="tr_body_list_table">
				<table border="0">
					<thead>
						<tr>
							<th width="33%">类型</th>
							<th width="33%">人次</th>
							<th width="33%">总额(元)</th>
						</tr>
					</thead>
				</table>
				<div class="tr_bl_table_bottom" style="height: 250px;">
					<table border="0">
						<tbody id="resultList">
							
						</tbody>
					</table>
				</div>
			</div>
			<div class="ib_rp_body_func">
				<a href="javascript:doPrint();" class="btn_all">打印</a>	
			</div>
      	</div>
      	
      	
      	
      	
      	<script type="text/javascript" src="consume_print.js"></script>
      	<script>
      		
      		
      		$("#start_date").click(function(){
      			appControl.showPicker("start_date",2);
      		});
      		$("#end_date").click(function(){
      			appControl.showPicker("end_date",2);
      		});
      		
      		/*
      		var curNow=new Date();
      		var beginDate = new Date();
	        beginDate.setMonth(beginDate.getMonth()-2);
	        
      		$("#start_date").datetimepicker({
			   // format: 'yyyy-mm-dd hh:ii',
			   	format: 'yyyy-mm-dd',
			    language:  'zh-CN',
			    todayBtn:  1,
			    autoclose: 1,  
	            todayHighlight: 1,
	            minView: "month",
	            
	            startDate:beginDate,
	            endDate:curNow
			});
			
			
			 $("#end_date").datetimepicker({
			    format: 'yyyy-mm-dd',
			    language:  'zh-CN',
			    todayBtn:  1,
			    autoclose: 1,  
	            todayHighlight: 1,
	            minView: "month",
	          
	           	startDate:beginDate,
	            endDate:curNow
			});
			
			*/
      	</script>
	</body>
</html>